﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Core.SimpleTemp.Common
{
    [AttributeUsage(AttributeTargets.Property)]
    public class ConcurrentKeyToValueAttribute : Attribute
    {
        public string Category { get; private set; }
        public string KeyPropertyName { get; private set; }
        public ConcurrentKeyToValueAttribute(string category, string keyPropertyName = "")
        {
            Category = category;
            KeyPropertyName = keyPropertyName;
        }
    }
}
